class dict_Util:

    @staticmethod
    def dict_Update(dic, key, value):
        try:
            if key in dic:
                dic.pop(key)
            dic2 = {
                key: str(value)
            }
            dic.update(dic2)
            return dic
        except Exception as e:
            print(e)
            return None

    @staticmethod
    def assignment(**kwargs):
        for key, value in kwargs.items():
            if type(value) is dict:
                dict_Util.assignment(value)
            if value:
                pass
            else:
                kwargs[key] = None
            return kwargs
